package com.bicon.base.data.pojo.botu;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 首页图标表
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("home_icon")
public class HomeIcon extends Model<HomeIcon> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 灰色图标
     */
    @TableField("gray_icon")
    private String grayIcon;
    /**
     * 高亮图标
     */
    @TableField("bright_icon")
    private String brightIcon;
    /**
     * 图标类型:1.首页，2.分类，3.购物车，4.搜索
     */
    @TableField("icon_type")
    private Integer iconType;
    /**
     * 图标开关:0.开，1.关
     */
    @TableField("icon_flag")
    private Integer iconFlag;
    /**
     * 删除标志：0正常，1删除
     */
    @TableField("logic_delete")
    private String logicDelete;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 更新时间
     */
    @TableField("update_date")
    private Date updateDate;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGrayIcon() {
        return grayIcon;
    }

    public void setGrayIcon(String grayIcon) {
        this.grayIcon = grayIcon;
    }

    public String getBrightIcon() {
        return brightIcon;
    }

    public void setBrightIcon(String brightIcon) {
        this.brightIcon = brightIcon;
    }

    public Integer getIconType() {
        return iconType;
    }

    public void setIconType(Integer iconType) {
        this.iconType = iconType;
    }

    public Integer getIconFlag() {
        return iconFlag;
    }

    public void setIconFlag(Integer iconFlag) {
        this.iconFlag = iconFlag;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HomeIcon{" +
        "id=" + id +
        ", grayIcon=" + grayIcon +
        ", brightIcon=" + brightIcon +
        ", iconType=" + iconType +
        ", iconFlag=" + iconFlag +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        "}";
    }
}
